import request from '@/utils/request'

// 调解书模板列表
export function templateLists(params?: Record<string, any>) {
    return request.get({ url: '/template/list', params })
}

// 调解书模板详情
export function templateDetail(params: Record<string, any>) {
    return request.get({ url: '/template/detail', params })
}

// 调解书模板新增
export function templateAdd(params: Record<string, any>) {
    return request.post({ url: '/template/add', params })
}

// 调解书模板编辑
export function templateEdit(params: Record<string, any>) {
    return request.post({ url: '/template/edit', params })
}

// 调解书模板编辑
export function templateEditState(params: Record<string, any>) {
    return request.post({ url: '/template/editState', params })
}

// 调解书模板删除
export function templateDelete(params: Record<string, any>) {
    return request.post({ url: '/template/del', params })
}
